package com.zzx.boot.entity.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

/**
 * @author tan
 * @version 1.0
 * @date 2023/7/10 20:49
 */
@Data
@AllArgsConstructor
@NotNull
public class UserInfoDto {


    @Length(min = 0,max = 2,message = "年龄参数不规范")
    @Null
    private Integer sex;
    @Null
    @Length(min = 0,max = 2,message = "年龄参数不规范")
    private Integer age;
    @Null
    private String qg;
    @Null
    private String job;
    @Null
    private String birthday;
    @Null
    private String path;

}
